package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangjianbin
 * @since 2023-02-07 11:59:17
 */
@Getter
@Setter
@TableName("t_product")
public class Product {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品名
     */
    @TableField("productname")
    private String productname;

    /**
     * 商品单价
     */
    @TableField("productprice")
    private BigDecimal productprice;

    /**
     * 商品图片地址
     */
    @TableField("productimgsrc")
    private String productimgsrc;


}
